home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1994 / MacHack 1994.toast / MacHack™ 1987-1994 / MacHack™ '90 / Source Code ƒ.sea / Source Code ƒ / MPW C ƒ / NetTimeProtocol ƒ / ntp.c < prev    next >
MacBinary  |  1990-03-23  |  9.8 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert Compact Compressed (Unix) (archive/compact) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Fri Mar 23 12:14:16 1990, modified Fri Mar 23 12:14:16 1990, creator 'MPS ', type ASCII, 9414 bytes "ntp.c" , at 0x2546 382 bytes resource default (weak)
99% file DIY-Thermocam raw data (Lepton 2.x), scale 1--11264, spot sensor temperature 0.000000, unit celsius, color scheme 0, calibration: offset 0.000000, slope 590295810358705651712.000000 default (weak)
98% file data default
49% TrID Macintosh plain text (MacBinary) default
33% TrID TTComp archive compressed (bin-2K) default (weak)
16% TrID MacBinary 2 default (weak)
0% TrID Sybase iAnywhere database files default (weak)
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 6e 74 70 2e 63 00 | 00 00 00 00 00 00 00 00 |..ntp.c.|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 00 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 24 c6 00 | 00 01 7e a2 30 09 e8 a2 |.....$..|..~.0...|
|00000060| 30 09 e8 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |0.......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 c9 6f 00 00 |........|.....o..|
|00000080| d8 00 00 00 00 09 48 06 | c0 00 d8 00 20 06 c0 1b |......H.|.... ...|
|00000090| 00 00 4b 02 01 01 01 00 | 00 00 01 27 0f 00 01 00 |..K.....|...'....|
|000000a0| 01 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 0e 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | a2 00 88 09 01 00 00 00 |........|........|
|000000f0| 00 00 00 03 18 02 40 00 | 24 00 36 02 f4 02 0a 00 |......@.|$.6.....|
|00000100| 24 00 36 02 f4 02 0a 00 | 00 00 00 00 00 00 00 00 |$.6.....|........|
|00000110| 24 00 00 00 03 00 01 00 | 00 00 00 00 01 00 00 00 |$.......|........|
|00000120| 00 00 00 00 00 01 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 48 00 |........|......H.|
|00000140| 48 00 00 ff ee 03 18 02 | 52 00 00 01 00 00 01 01 |H.......|R.......|
|00000150| 20 01 8c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | .......|........|
|00000160| 00 00 00 00 00 00 00 00 | 02 00 02 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 03 18 02 | 40 00 00 00 00 00 00 00 |........|@.......|
|00000180| 00 00 01 00 00 00 00 00 | 00 00 00 00 00 02 82 00 |........|........|
|00000190| 01 00 00 18 7f 00 00 18 | 80 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 01 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 0f 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 03 00 0c 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 01 00 00 00 00 00 00 00 | 01 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 01 00 00 00 03 00 | 09 00 00 00 01 00 01 00 |........|........|
|00000230| 01 00 00 00 01 00 01 00 | 00 00 00 00 00 00 00 03 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 31 1a bc 00 |........|....1...|
|00000250| 00 00 ae 00 00 00 95 00 | 00 00 00 00 95 00 ae 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 31 1a cc 00 |........|....1...|
|00000270| 00 00 96 00 00 00 00 00 | 00 00 00 00 00 00 96 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 ff 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 ff |........|........|
|00000350| ff ff ff ff ff ff ff 00 | ff 08 08 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 01 | 0e 01 42 01 dc 02 7c 00 |........|..B...|.|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000410| 00 00 00 00 48 00 09 4d | 6f 6e 61 63 6f 00 72 2e |....H..M|onaco.r.|
|00000420| 63 2d 33 00 16 00 00 00 | 3c 00 5a d5 90 00 72 35 |c-3.....|<.Z...r5|
|00000430| d0 80 2a 00 01 00 00 00 | 06 00 0c 00 2d 00 05 01 |..*.....|....-...|
|00000440| cf 02 25 00 2d 00 05 01 | cf 02 25 a2 37 8b c7 00 |..%.-...|..%.7...|
|00000450| 00 13 2b 00 00 13 2b 00 | 00 09 ec 01 00 00 00 01 |..+...+.|........|
|00000460| 00 00 00 06 f5 00 00 05 | f5 00 00 00 f2 00 5a d6 |........|......Z.|
|00000470| c0 08 16 00 00 00 1c 00 | f2 00 09 76 65 72 73 00 |........|...vers.|
|00000480| 01 00 52 52 4c 52 53 00 | 00 00 6a 46 52 4d 54 00 |..RRLRS.|..jFRMT.|
|00000490| 00 00 76 46 54 41 42 00 | 00 00 82 46 4c 53 54 00 |..vFTAB.|...FLST.|
|000004a0| 00 00 8e 50 52 45 43 00 | 00 00 9a 43 50 52 43 00 |...PREC.|...CPRC.|
|000004b0| 00 00 a6 50 47 4c 59 00 | 00 00 b2 49 4e 46 4f 00 |...PGLY.|...INFO.|
|000004c0| 00 00 be 4d 50 53 52 00 | 00 00 ca 00 01 ff ff 00 |...MPSR.|........|
|000004d0| 00 00 00 00 00 00 00 00 | 02 ff ff 00 00 00 3b 00 |........|......;.|
|000004e0| 00 00 00 03 eb ff ff 00 | 00 00 79 00 00 00 00 03 |........|..y.....|
|000004f0| eb ff ff 00 00 00 9d 00 | 00 00 00 03 eb ff ff 00 |........|........|
|00000500| 00 00 ab 00 00 00 00 03 | eb ff ff 00 00 01 11 00 |........|........|
|00000510| 00 00 00 00 80 ff ff 00 | 00 01 ef 00 00 00 00 00 |........|........|
|00000520| 80 ff ff 00 00 02 6b 00 | 00 00 00 00 80 ff ff 00 |......k.|........|
|00000530| 00 02 7d 00 00 00 00 03 | eb ff ff 00 00 03 23 00 |..}.....|......#.|
|00000540| 00 00 00 03 ed ff ff 00 | 00 05 a9 00 5c 7c 60 2f |........|....\|`/|
|00000550| 2a 0d 48 65 72 65 27 73 | 20 73 6f 6d 65 74 68 69 |*.Here's| somethi|
|00000560| 6e 67 20 74 68 61 74 20 | 73 6f 6d 65 20 6f 66 20 |ng that |some of |
|00000570| 79 6f 75 20 6d 69 67 68 | 74 20 66 69 6e 64 20 75 |you migh|t find u|
|00000580| 73 65 66 75 6c 2e 20 20 | 49 74 27 73 20 61 20 73 |seful. |It's a s|
|00000590| 68 6f 72 74 0d 43 20 70 | 72 6f 67 72 61 6d 20 66 |hort.C p|rogram f|
|000005a0| 6f 72 20 4d 50 57 20 33 | 2e 30 20 74 68 61 74 27 |or MPW 3|.0 that'|
|000005b0| 73 20 6a 75 73 74 20 62 | 61 72 65 6c 79 20 73 6d |s just b|arely sm|
|000005c0| 61 72 74 20 65 6e 6f 75 | 67 68 20 74 6f 20 75 6e |art enou|gh to un|
|000005d0| 70 61 63 6b 20 73 68 61 | 72 20 66 69 6c 65 73 0d |pack sha|r files.|
|000005e0| 66 72 6f 6d 20 63 6f 6d | 70 2e 73 6f 75 72 63 65 |from com|p.source|
|000005f0| 73 2e 75 6e 69 78 2e 20 | 20 49 74 20 64 6f 65 73 |s.unix. | It does|
|00000600| 20 63 72 65 61 74 65 20 | 73 75 62 64 69 72 65 63 | create |subdirec|
|00000610| 74 6f 72 69 65 73 0d 69 | 66 20 6e 65 63 65 73 73 |tories.i|f necess|
|00000620| 61 72 79 2c 20 61 6e 64 | 20 69 74 27 73 20 6f 72 |ary, and| it's or|
|00000630| 64 65 72 73 20 6f 66 20 | 6d 61 67 6e 69 74 75 64 |ders of |magnitud|
|00000640| 65 20 66 61 73 74 65 72 | 20 74 68 61 6e 20 74 68 |e faster| than th|
|00000650| 65 20 4d 50 57 20 73 68 | 65 6c 6c 0d 75 6e 73 68 |e MPW sh|ell.unsh|
|00000660| 61 72 20 74 68 61 74 20 | 77 61 73 20 70 6f 73 74 |ar that |was post|
|00000670| 65 64 20 61 20 77 68 69 | 6c 65 20 62 61 63 6b 2e |ed a whi|le back.|
|00000680| 20 20 54 68 65 20 73 6f | 75 72 63 65 20 69 73 20 | The so|urce is |
|00000690| 61 20 6c 6f 74 20 73 68 | 6f 72 74 65 72 20 74 68 |a lot sh|orter th|
|000006a0| 61 6e 0d 74 68 65 20 62 | 69 6e 61 72 79 2c 20 73 |an.the b|inary, s|
|000006b0| 6f 20 49 20 74 68 6f 75 | 67 68 74 20 49 27 64 20 |o I thou|ght I'd |
|000006c0| 6a 75 73 74 20 70 6f 73 | 74 20 69 74 2d 2d 74 68 |just pos|t it--th|
|000006d0| 61 74 20 77 61 79 20 66 | 6f 6c 6b 73 20 77 68 6f |at way f|olks who|
|000006e0| 20 75 73 65 20 54 48 49 | 4e 4b 20 43 0d 61 6e 64 | use THI|NK C.and|
|000006f0| 20 73 6f 20 6f 6e 20 63 | 61 6e 20 74 77 65 61 6b | so on c|an tweak|
|00000700| 20 69 74 20 74 68 65 6d | 73 65 6c 76 65 73 20 69 | it them|selves i|
|00000710| 66 20 74 68 65 79 20 77 | 61 6e 74 2e 2e 2e 0d 2a |f they w|ant....*|
|00000720| 2f 0d 0d 2f 2a 20 75 6e | 73 68 61 72 20 66 6f 72 |/../* un|shar for|
|00000730| 20 4d 50 57 20 74 68 61 | 74 27 73 20 67 6f 6f 64 | MPW tha|t's good|
|00000740| 20 65 6e 6f 75 67 68 20 | 66 6f 72 20 63 6f 6d 70 | enough |for comp|
|00000750| 2e 73 6f 75 72 63 65 73 | 2e 75 6e 69 78 20 61 72 |.sources|.unix ar|
|00000760| 63 68 69 76 65 73 20 2a | 2f 0d 23 69 6e 63 6c 75 |chives *|/.#inclu|
|00000770| 64 65 20 3c 73 74 64 69 | 6f 2e 68 3e 0d 23 69 6e |de <stdi|o.h>.#in|
|00000780| 63 6c 75 64 65 20 3c 46 | 69 6c 65 73 2e 68 3e 0d |clude <F|iles.h>.|
|00000790| 23 69 6e 63 6c 75 64 65 | 20 3c 45 72 72 6f 72 73 |#include| <Errors|
|000007a0| 2e 68 3e 0d 0d 69 6e 74 | 20 66 6f 72 63 65 20 3d |.h>..int| force =|
|000007b0| 20 30 3b 20 20 2f 2a 20 | 66 6f 72 63 65 20 6f 76 | 0; /* |force ov|
|000007c0| 65 72 77 72 69 74 69 6e | 67 20 65 78 69 73 74 69 |erwritin|g existi|
|000007d0| 6e 67 20 66 69 6c 65 73 | 20 2a 2f 0d 63 68 61 72 |ng files| */.char|
|000007e0| 20 2a 70 72 6f 67 6e 61 | 6d 65 3b 0d 0d 6d 61 69 | *progna|me;..mai|
|000007f0| 6e 28 61 72 67 63 2c 20 | 61 72 67 76 29 0d 69 6e |n(argc, |argv).in|
|00000800| 74 20 61 72 67 63 3b 0d | 63 68 61 72 20 2a 2a 61 |t argc;.|char **a|
|00000810| 72 67 76 3b 0d 7b 0d 20 | 20 70 72 6f 67 6e 61 6d |rgv;.{. | prognam|
|00000820| 65 20 3d 20 2a 61 72 67 | 76 3b 0d 0d 20 20 69 66 |e = *arg|v;.. if|
|00000830| 20 28 61 72 67 63 20 3d | 3d 20 31 29 20 7b 0d 20 | (argc =|= 1) {. |
|00000840| 20 20 20 66 70 72 69 6e | 74 66 28 73 74 64 65 72 | fprin|tf(stder|
|00000850| 72 2c 20 22 23 23 23 20 | 25 73 20 2d 20 4e 6f 74 |r, "### |%s - Not|
|00000860| 20 65 6e 6f 75 67 68 20 | 70 61 72 61 6d 65 74 65 | enough |paramete|
|00000870| 72 73 20 77 65 72 65 20 | 73 70 65 63 69 66 69 65 |rs were |specifie|
|00000880| 64 2e 5c 6e 22 2c 09 20 | 20 20 20 70 72 6f 67 6e |d.\n",. | progn|
|00000890| 61 6d 65 29 3b 0d 20 20 | 20 20 66 70 72 69 6e 74 |ame);. | fprint|
|000008a0| 66 28 73 74 64 65 72 72 | 2c 20 22 23 20 55 73 61 |f(stderr|, "# Usa|
|000008b0| 67 65 20 2d 20 25 73 20 | 5b 2d 66 5d 20 66 69 6c |ge - %s |[-f] fil|
|000008c0| 65 20 5b 66 69 6c 65 2e | 2e 2e 5d 5c 6e 22 2c 20 |e [file.|..]\n", |
|000008d0| 70 72 6f 67 6e 61 6d 65 | 29 3b 0d 20 20 7d 20 65 |progname|);. } e|
|000008e0| 6c 73 65 20 77 68 69 6c | 65 20 28 2d 2d 61 72 67 |lse whil|e (--arg|
|000008f0| 63 29 20 7b 0d 20 20 20 | 20 69 66 20 28 2a 2a 2b |c) {. | if (**+|
|00000900| 2b 61 72 67 76 20 3d 3d | 20 27 2d 27 29 20 7b 0d |+argv ==| '-') {.|
|00000910| 20 20 20 20 20 20 73 77 | 69 74 63 68 20 28 28 2a | sw|itch ((*|
|00000920| 61 72 67 76 29 5b 31 5d | 29 20 7b 0d 20 20 20 20 |argv)[1]|) {. |
|00000930| 20 20 20 20 63 61 73 65 | 20 27 66 27 3a 0d 20 20 | case| 'f':. |
|00000940| 20 20 20 20 20 20 20 20 | 66 6f 72 63 65 20 3d 20 | |force = |
|00000950| 31 3b 0d 20 20 20 20 20 | 20 20 20 62 72 65 61 6b |1;. | break|
|00000960| 3b 20 20 20 20 20 20 7d | 0d 20 20 20 20 7d 20 65 |; }|. } e|
|00000970| 6c 73 65 0d 20 20 20 20 | 20 20 75 6e 73 68 61 72 |lse. | unshar|
|00000980| 28 2a 61 72 67 76 29 3b | 0d 20 20 7d 0d 7d 0d 0d |(*argv);|. }.}..|
|00000990| 75 6e 73 68 61 72 28 73 | 29 0d 63 68 61 72 20 2a |unshar(s|).char *|
|000009a0| 73 3b 0d 7b 0d 20 20 63 | 68 61 72 20 62 75 66 66 |s;.{. c|har buff|
|000009b0| 65 72 5b 42 55 46 53 49 | 5a 5d 3b 0d 20 20 63 68 |er[BUFSI|Z];. ch|
|000009c0| 61 72 20 2a 63 70 3b 0d | 20 20 69 6e 74 20 66 6f |ar *cp;.| int fo|
|000009d0| 72 63 65 3b 0d 20 20 46 | 49 4c 45 20 2a 69 6e 66 |rce;. F|ILE *inf|
|000009e0| 70 2c 20 2a 6f 75 74 66 | 70 3b 0d 20 20 63 68 61 |p, *outf|p;. cha|
|000009f0| 72 20 75 6e 69 78 66 69 | 6c 65 6e 61 6d 65 5b 36 |r unixfi|lename[6|
|00000a00| 34 5d 2c 20 6d 70 77 66 | 69 6c 65 6e 61 6d 65 5b |4], mpwf|ilename[|
|00000a10| 36 34 5d 3b 0d 20 20 69 | 6e 74 20 6c 69 6e 65 3b |64];. i|nt line;|
|00000a20| 0d 20 20 73 68 6f 72 74 | 20 76 3b 0d 20 20 6c 6f |. short| v;. lo|
|00000a30| 6e 67 20 64 69 72 49 44 | 2c 20 64 49 44 3b 0d 0d |ng dirID|, dID;..|
|00000a40| 20 20 69 6e 66 70 20 3d | 20 66 6f 70 65 6e 28 73 | infp =| fopen(s|
|00000a50| 2c 20 22 72 22 29 3b 0d | 20 20 69 66 20 28 21 69 |, "r");.| if (!i|
|00000a60| 6e 66 70 29 20 7b 20 20 | 20 20 66 70 72 69 6e 74 |nfp) { | fprint|
|00000a70| 66 28 73 74 64 65 72 72 | 2c 20 22 23 23 23 20 25 |f(stderr|, "### %|
|00000a80| 73 20 2d 20 43 6f 75 6c | 64 20 6e 6f 74 20 6f 70 |s - Coul|d not op|
|00000a90| 65 6e 20 66 69 6c 65 20 | 25 73 5c 6e 22 2c 20 70 |en file |%s\n", p|
|00000aa0| 72 6f 67 6e 61 6d 65 2c | 20 73 29 3b 0d 20 20 20 |rogname,| s);. |
|00000ab0| 20 72 65 74 75 72 6e 3b | 0d 20 20 7d 0d 0d 20 20 | return;|. }.. |
|00000ac0| 2f 2a 20 73 6b 69 70 20 | 6f 76 65 72 20 6e 65 77 |/* skip |over new|
|00000ad0| 73 20 68 65 61 64 65 72 | 20 6c 69 6e 65 73 20 65 |s header| lines e|
|00000ae0| 74 63 2e 20 2a 2f 0d 20 | 20 66 6f 72 20 28 6c 69 |tc. */. | for (li|
|00000af0| 6e 65 20 3d 20 31 3b 20 | 63 70 20 3d 20 66 67 65 |ne = 1; |cp = fge|
|00000b00| 74 73 28 62 75 66 66 65 | 72 2c 20 73 69 7a 65 6f |ts(buffe|r, sizeo|
|00000b10| 66 28 62 75 66 66 65 72 | 29 2c 20 69 6e 66 70 29 |f(buffer|), infp)|
|00000b20| 3b 20 6c 69 6e 65 2b 2b | 29 0d 20 20 20 20 69 66 |; line++|). if|
|00000b30| 20 28 62 75 66 66 65 72 | 5b 30 5d 20 3d 3d 20 27 | (buffer|[0] == '|
|00000b40| 23 27 29 20 62 72 65 61 | 6b 3b 0d 20 20 69 66 20 |#') brea|k;. if |
|00000b50| 28 21 63 70 29 20 7b 0d | 20 20 20 20 66 70 72 69 |(!cp) {.| fpri|
|00000b60| 6e 74 66 28 73 74 64 65 | 72 72 2c 20 22 23 23 23 |ntf(stde|rr, "###|
|00000b70| 20 25 73 20 2d 20 43 6f | 75 6c 64 20 6e 6f 74 20 | %s - Co|uld not |
|00000b80| 6c 6f 63 61 74 65 20 73 | 74 61 72 74 20 6f 66 20 |locate s|tart of |
|00000b90| 61 72 63 68 69 76 65 20 | 69 6e 20 66 69 6c 65 20 |archive |in file |
|00000ba0| 25 73 5c 6e 22 2c 20 20 | 20 20 20 20 20 20 20 20 |%s\n", | |
|00000bb0| 20 20 70 72 6f 67 6e 61 | 6d 65 2c 20 73 29 3b 0d | progna|me, s);.|
|00000bc0| 20 20 20 20 72 65 74 75 | 72 6e 3b 0d 20 20 7d 0d | retu|rn;. }.|
|00000bd0| 0d 20 20 2f 2a 20 6e 6f | 77 20 77 65 20 73 68 6f |. /* no|w we sho|
|00000be0| 75 6c 64 20 62 65 20 61 | 74 20 74 68 65 20 73 74 |uld be a|t the st|
|00000bf0| 61 72 74 20 6f 66 20 74 | 68 65 20 73 68 61 72 20 |art of t|he shar |
|00000c00| 61 72 63 68 69 76 65 20 | 69 74 73 65 6c 66 20 2a |archive |itself *|
|00000c10| 2f 0d 20 20 77 68 69 6c | 65 20 28 63 70 20 3d 20 |/. whil|e (cp = |
|00000c20| 66 67 65 74 73 28 62 75 | 66 66 65 72 2c 20 73 69 |fgets(bu|ffer, si|
|00000c30| 7a 65 6f 66 28 62 75 66 | 66 65 72 29 2c 20 69 6e |zeof(buf|fer), in|
|00000c40| 66 70 29 29 20 7b 0d 20 | 20 20 20 6c 69 6e 65 2b |fp)) {. | line+|
|00000c50| 2b 3b 0d 20 20 20 20 69 | 66 20 28 62 75 66 66 65 |+;. i|f (buffe|
|00000c60| 72 5b 30 5d 20 3d 3d 20 | 27 23 27 29 20 63 6f 6e |r[0] == |'#') con|
|00000c70| 74 69 6e 75 65 3b 20 20 | 20 20 2f 2a 20 63 6f 6d |tinue; | /* com|
|00000c80| 6d 65 6e 74 20 6c 69 6e | 65 20 2a 2f 20 20 20 20 |ment lin|e */ |
|00000c90| 69 66 20 28 62 75 66 66 | 65 72 5b 30 5d 20 3d 3d |if (buff|er[0] ==|
|00000ca0| 20 27 65 27 29 20 7b 20 | 66 63 6c 6f 73 65 28 69 | 'e') { |fclose(i|
|00000cb0| 6e 66 70 29 3b 20 72 65 | 74 75 72 6e 3b 20 7d 20 |nfp); re|turn; } |
|00000cc0| 20 2f 2a 20 65 78 69 74 | 20 2a 2f 0d 20 20 20 20 | /* exit| */. |
|00000cd0| 69 66 20 28 62 75 66 66 | 65 72 5b 30 5d 20 3d 3d |if (buff|er[0] ==|
|00000ce0| 20 27 69 27 29 20 7b 0d | 20 20 20 20 20 20 20 20 | 'i') {.| |
|00000cf0| 69 66 20 28 21 73 74 72 | 6e 63 6d 70 28 62 75 66 |if (!str|ncmp(buf|
|00000d00| 66 65 72 2c 20 22 69 66 | 20 74 65 73 74 20 2d 66 |fer, "if| test -f|
|00000d10| 22 2c 20 31 30 29 29 20 | 7b 0d 20 20 20 20 20 20 |", 10)) |{. |
|00000d20| 20 20 2f 2a 20 74 65 73 | 74 69 6e 67 20 74 6f 20 | /* tes|ting to |
|00000d30| 73 65 65 20 69 66 20 61 | 20 66 69 6c 65 20 69 73 |see if a| file is|
|00000d40| 20 74 68 65 72 65 20 2a | 2f 0d 20 20 20 20 20 20 | there *|/. |
|00000d50| 20 20 69 66 20 28 73 73 | 63 61 6e 66 28 62 75 66 | if (ss|canf(buf|
|00000d60| 66 65 72 2c 20 22 69 66 | 20 74 65 73 74 20 2d 66 |fer, "if| test -f|
|00000d70| 20 27 25 73 27 22 2c 20 | 75 6e 69 78 66 69 6c 65 | '%s'", |unixfile|
|00000d80| 6e 61 6d 65 29 20 3d 3d | 20 31 29 20 7b 20 20 20 |name) ==| 1) { |
|00000d90| 20 20 20 20 20 20 20 2f | 2a 20 6d 61 6b 65 20 4d | /|* make M|
|00000da0| 61 63 20 72 65 6c 61 74 | 69 76 65 20 70 61 74 68 |ac relat|ive path|
|00000db0| 6e 61 6d 65 20 2a 2f 0d | 20 20 20 20 20 20 20 20 |name */.| |
|00000dc0| 20 20 73 70 72 69 6e 74 | 66 28 6d 70 77 66 69 6c | sprint|f(mpwfil|
|00000dd0| 65 6e 61 6d 65 2c 20 22 | 3a 25 73 22 2c 20 75 6e |ename, "|:%s", un|
|00000de0| 69 78 66 69 6c 65 6e 61 | 6d 65 29 3b 0d 20 20 20 |ixfilena|me);. |
|00000df0| 20 20 20 20 20 20 20 2f | 2a 20 63 6f 6e 76 65 72 | /|* conver|
|00000e00| 74 20 27 2f 27 20 74 6f | 20 27 3a 27 20 26 20 76 |t '/' to| ':' & v|
|00000e10| 69 63 65 20 76 65 72 73 | 61 20 2a 2f 0d 20 20 20 |ice vers|a */. |
|00000e20| 20 20 20 20 20 20 20 66 | 6f 72 20 28 63 70 20 3d | f|or (cp =|
|00000e30| 20 6d 70 77 66 69 6c 65 | 6e 61 6d 65 2b 31 3b 20 | mpwfile|name+1; |
|00000e40| 2a 63 70 3b 20 63 70 2b | 2b 29 0d 20 20 20 20 20 |*cp; cp+|+). |
|00000e50| 20 20 20 20 20 20 20 69 | 66 20 28 2a 63 70 20 3d | i|f (*cp =|
|00000e60| 3d 20 27 2f 27 29 20 20 | 20 20 20 20 20 20 20 20 |= '/') | |
|00000e70| 20 20 20 20 2a 63 70 20 | 3d 20 27 3a 27 3b 0d 20 | *cp |= ':';. |
|00000e80| 20 20 20 20 20 20 20 20 | 20 20 20 65 6c 73 65 20 | | else |
|00000e90| 69 66 20 28 2a 63 70 20 | 3d 3d 20 27 3a 27 29 0d |if (*cp |== ':').|
|00000ea0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2a 63 | | *c|
|00000eb0| 70 20 3d 20 27 2f 27 3b | 0d 20 20 20 20 20 20 20 |p = '/';|. |
|00000ec0| 20 20 20 63 70 5b 2d 31 | 5d 20 3d 20 30 3b 20 20 | cp[-1|] = 0; |
|00000ed0| 2f 2a 20 64 72 6f 70 20 | 74 72 61 69 6c 69 6e 67 |/* drop |trailing|
|00000ee0| 20 71 75 6f 74 65 20 6d | 61 72 6b 20 2a 2f 0d 20 | quote m|ark */. |
|00000ef0| 20 20 20 20 20 20 20 20 | 20 6f 75 74 66 70 20 3d | | outfp =|
|00000f00| 20 66 6f 70 65 6e 28 6d | 70 77 66 69 6c 65 6e 61 | fopen(m|pwfilena|
|00000f10| 6d 65 2c 20 22 72 22 29 | 3b 0d 20 20 20 20 20 20 |me, "r")|;. |
|00000f20| 20 20 20 20 69 66 20 28 | 6f 75 74 66 70 20 26 26 | if (|outfp &&|
|00000f30| 20 21 66 6f 72 63 65 29 | 20 7b 0d 20 20 20 20 20 | !force)| {. |
|00000f40| 20 20 20 20 20 20 20 66 | 63 6c 6f 73 65 28 6f 75 | f|close(ou|
|00000f50| 74 66 70 29 3b 0d 20 20 | 20 20 20 20 20 20 20 20 |tfp);. | |
|00000f60| 20 20 66 70 72 69 6e 74 | 66 28 73 74 64 65 72 72 | fprint|f(stderr|
|00000f70| 2c 20 22 23 23 23 20 25 | 73 20 2d 20 57 69 6c 6c |, "### %|s - Will|
|00000f80| 20 6e 6f 74 20 63 6c 6f | 62 62 65 72 20 65 78 69 | not clo|bber exi|
|00000f90| 73 74 69 6e 67 20 66 69 | 6c 65 20 27 25 73 27 5c |sting fi|le '%s'\|
|00000fa0| 6e 22 2c 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |n", | |
|00000fb0| 20 20 20 70 72 6f 67 6e | 61 6d 65 2c 20 6d 70 77 | progn|ame, mpw|
|00000fc0| 66 69 6c 65 6e 61 6d 65 | 29 3b 0d 20 20 20 20 20 |filename|);. |
|00000fd0| 20 20 20 20 20 20 20 77 | 68 69 6c 65 20 28 62 75 | w|hile (bu|
|00000fe0| 66 66 65 72 5b 30 5d 20 | 21 3d 20 27 66 27 29 20 |ffer[0] |!= 'f') |
|00000ff0| 7b 20 20 2f 2a 20 73 6b | 69 70 20 74 6f 20 73 69 |{ /* sk|ip to si|
|00001000| 7a 65 20 22 66 69 22 20 | 2a 2f 0d 20 20 20 20 20 |ze "fi" |*/. |
|00001010| 20 20 20 20 20 20 20 20 | 20 66 67 65 74 73 28 62 | | fgets(b|
|00001020| 75 66 66 65 72 2c 20 73 | 69 7a 65 6f 66 28 62 75 |uffer, s|izeof(bu|
|00001030| 66 66 65 72 29 2c 20 69 | 6e 66 70 29 3b 0d 20 20 |ffer), i|nfp);. |
|00001040| 20 20 20 20 20 20 20 20 | 20 20 7d 0d 20 20 20 20 | | }. |
|00001050| 20 20 20 20 20 20 20 20 | 66 67 65 74 73 28 62 75 | |fgets(bu|
|00001060| 66 66 65 72 2c 20 73 69 | 7a 65 6f 66 28 62 75 66 |ffer, si|zeof(buf|
|00001070| 66 65 72 29 2c 20 69 6e | 66 70 29 3b 20 20 2f 2a |fer), in|fp); /*|
|00001080| 20 73 6b 69 70 20 6f 76 | 65 72 20 65 6e 64 69 6e | skip ov|er endin|
|00001090| 67 20 63 6f 6d 6d 65 6e | 74 20 2a 2f 20 20 20 20 |g commen|t */ |
|000010a0| 20 20 20 20 20 20 20 20 | 66 67 65 74 73 28 62 75 | |fgets(bu|
|000010b0| 66 66 65 72 2c 20 73 69 | 7a 65 6f 66 28 62 75 66 |ffer, si|zeof(buf|
|000010c0| 66 65 72 29 2c 20 69 6e | 66 70 29 3b 20 20 2f 2a |fer), in|fp); /*|
|000010d0| 20 73 6b 69 70 20 6f 76 | 65 72 20 74 65 73 74 20 | skip ov|er test |
|000010e0| 22 66 69 22 20 2a 2f 0d | 20 20 20 20 20 20 20 20 |"fi" */.| |
|000010f0| 20 20 7d 20 65 6c 73 65 | 20 7b 0d 20 20 20 20 20 | } else| {. |
|00001100| 20 20 20 20 20 20 20 69 | 66 20 28 6f 75 74 66 70 | i|f (outfp|
|00001110| 29 20 66 63 6c 6f 73 65 | 28 6f 75 74 66 70 29 3b |) fclose|(outfp);|
|00001120| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 63 72 65 |. | cre|
|00001130| 61 74 65 28 6d 70 77 66 | 69 6c 65 6e 61 6d 65 2c |ate(mpwf|ilename,|
|00001140| 20 30 2c 20 27 4d 50 53 | 20 27 2c 20 27 54 45 58 | 0, 'MPS| ', 'TEX|
|00001150| 54 27 29 3b 0d 20 20 20 | 20 20 20 20 20 20 20 20 |T');. | |
|00001160| 20 6f 75 74 66 70 20 3d | 20 66 6f 70 65 6e 28 6d | outfp =| fopen(m|
|00001170| 70 77 66 69 6c 65 6e 61 | 6d 65 2c 20 22 77 22 29 |pwfilena|me, "w")|
|00001180| 3b 20 20 20 20 20 20 20 | 20 20 20 20 20 66 70 72 |; | fpr|
|00001190| 69 6e 74 66 28 73 74 64 | 65 72 72 2c 20 22 23 23 |intf(std|err, "##|
|000011a0| 23 20 25 73 20 2d 20 45 | 78 74 72 61 63 74 69 6e |# %s - E|xtractin|
|000011b0| 67 20 27 25 73 27 5c 6e | 22 2c 20 6d 70 77 66 69 |g '%s'\n|", mpwfi|
|000011c0| 6c 65 6e 61 6d 65 29 3b | 0d 20 20 20 20 20 20 20 |lename);|. |
|000011d0| 20 20 20 20 20 77 68 69 | 6c 65 20 28 62 75 66 66 | whi|le (buff|
|000011e0| 65 72 5b 30 5d 20 21 3d | 20 27 58 27 29 0d 20 20 |er[0] !=| 'X'). |
|000011f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 66 67 65 74 | | fget|
|00001200| 73 28 62 75 66 66 65 72 | 2c 20 73 69 7a 65 6f 66 |s(buffer|, sizeof|
|00001210| 28 62 75 66 66 65 72 29 | 2c 20 69 6e 66 70 29 3b |(buffer)|, infp);|
|00001220| 0d 20 20 20 20 20 20 20 | 20 20 20 20 20 64 6f 20 |. | do |
|00001230| 7b 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |{. | |
|00001240| 66 70 75 74 73 28 62 75 | 66 66 65 72 2b 31 2c 20 |fputs(bu|ffer+1, |
|00001250| 6f 75 74 66 70 29 3b 20 | 20 20 20 20 20 20 20 20 |outfp); | |
|00001260| 20 20 20 20 20 66 67 65 | 74 73 28 62 75 66 66 65 | fge|ts(buffe|
|00001270| 72 2c 20 73 69 7a 65 6f | 66 28 62 75 66 66 65 72 |r, sizeo|f(buffer|
|00001280| 29 2c 20 69 6e 66 70 29 | 3b 0d 20 20 20 20 20 20 |), infp)|;. |
|00001290| 20 20 20 20 20 20 7d 20 | 77 68 69 6c 65 20 28 62 | } |while (b|
|000012a0| 75 66 66 65 72 5b 30 5d | 20 3d 3d 20 27 58 27 29 |uffer[0]| == 'X')|
|000012b0| 3b 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 66 63 |;. | fc|
|000012c0| 6c 6f 73 65 28 6f 75 74 | 66 70 29 3b 0d 20 20 20 |lose(out|fp);. |
|000012d0| 20 20 20 20 20 20 20 20 | 20 66 67 65 74 73 28 62 | | fgets(b|
|000012e0| 75 66 66 65 72 2c 20 73 | 69 7a 65 6f 66 28 62 75 |uffer, s|izeof(bu|
|000012f0| 66 66 65 72 29 2c 20 69 | 6e 66 70 29 3b 20 20 2f |ffer), i|nfp); /|
|00001300| 2a 20 73 6b 69 70 20 74 | 6f 20 6e 65 78 74 20 69 |* skip t|o next i|
|00001310| 66 20 2a 2f 0d 20 20 20 | 20 20 20 20 20 20 20 20 |f */. | |
|00001320| 20 66 67 65 74 73 28 62 | 75 66 66 65 72 2c 20 73 | fgets(b|uffer, s|
|00001330| 69 7a 65 6f 66 28 62 75 | 66 66 65 72 29 2c 20 69 |izeof(bu|ffer), i|
|00001340| 6e 66 70 29 3b 0d 20 20 | 20 20 20 20 20 20 20 20 |nfp);. | |
|00001350| 20 20 66 67 65 74 73 28 | 62 75 66 66 65 72 2c 20 | fgets(|buffer, |
|00001360| 73 69 7a 65 6f 66 28 62 | 75 66 66 65 72 29 2c 20 |sizeof(b|uffer), |
|00001370| 69 6e 66 70 29 3b 20 20 | 20 20 20 20 20 20 20 20 |infp); | |
|00001380| 20 20 66 67 65 74 73 28 | 62 75 66 66 65 72 2c 20 | fgets(|buffer, |
|00001390| 73 69 7a 65 6f 66 28 62 | 75 66 66 65 72 29 2c 20 |sizeof(b|uffer), |
|000013a0| 69 6e 66 70 29 3b 0d 20 | 20 20 20 20 20 20 20 20 |infp);. | |
|000013b0| 20 20 20 66 67 65 74 73 | 28 62 75 66 66 65 72 2c | fgets|(buffer,|
|000013c0| 20 73 69 7a 65 6f 66 28 | 62 75 66 66 65 72 29 2c | sizeof(|buffer),|
|000013d0| 20 69 6e 66 70 29 3b 0d | 20 20 20 20 20 20 20 20 | infp);.| |
|000013e0| 20 20 7d 0d 20 20 20 20 | 20 20 20 20 7d 20 65 6c | }. | } el|
|000013f0| 73 65 20 7b 0d 20 20 20 | 20 20 20 20 20 20 20 66 |se {. | f|
|00001400| 70 72 69 6e 74 66 28 73 | 74 64 65 72 72 2c 20 22 |printf(s|tderr, "|
|00001410| 23 23 23 20 25 73 20 2d | 20 43 61 6e 6e 6f 74 20 |### %s -| Cannot |
|00001420| 75 6e 64 65 72 73 74 61 | 6e 64 20 27 69 66 27 20 |understa|nd 'if' |
|00001430| 73 74 61 74 65 6d 65 6e | 74 2c 20 61 62 6f 72 74 |statemen|t, abort|
|00001440| 69 6e 67 20 66 69 6c 65 | 3a 5c 6e 22 2c 20 70 72 |ing file|:\n", pr|
|00001450| 6f 67 6e 61 6d 65 29 3b | 20 20 20 20 20 20 20 20 |ogname);| |
|00001460| 20 20 66 70 72 69 6e 74 | 66 28 73 74 64 65 72 72 | fprint|f(stderr|
|00001470| 2c 20 22 46 69 6c 65 20 | 25 73 3b 20 4c 69 6e 65 |, "File |%s; Line|
|00001480| 20 25 64 20 23 20 25 73 | 22 2c 20 73 2c 20 6c 69 | %d # %s|", s, li|
|00001490| 6e 65 2c 20 62 75 66 66 | 65 72 29 3b 0d 20 20 20 |ne, buff|er);. |
|000014a0| 20 20 20 20 20 20 20 66 | 63 6c 6f 73 65 28 69 6e | f|close(in|
|000014b0| 66 70 29 3b 0d 20 20 20 | 20 20 20 20 20 20 20 72 |fp);. | r|
|000014c0| 65 74 75 72 6e 3b 0d 20 | 20 20 20 20 20 20 20 7d |eturn;. | }|
|000014d0| 0d 20 20 20 20 20 20 7d | 20 65 6c 73 65 20 69 66 |. }| else if|
|000014e0| 20 28 21 73 74 72 6e 63 | 6d 70 28 62 75 66 66 65 | (!strnc|mp(buffe|
|000014f0| 72 2c 20 22 69 66 20 74 | 65 73 74 20 21 20 2d 64 |r, "if t|est ! -d|
|00001500| 22 2c 20 31 32 29 29 20 | 7b 0d 20 20 20 20 20 20 |", 12)) |{. |
|00001510| 20 20 2f 2a 20 74 65 73 | 74 69 6e 67 20 74 6f 20 | /* tes|ting to |
|00001520| 73 65 65 20 69 66 20 61 | 20 64 69 72 65 63 74 6f |see if a| directo|
|00001530| 72 79 20 69 73 20 74 68 | 65 72 65 20 2a 2f 0d 20 |ry is th|ere */. |
|00001540| 20 20 20 20 20 20 20 69 | 66 20 28 73 73 63 61 6e | i|f (sscan|
|00001550| 66 28 62 75 66 66 65 72 | 2c 20 22 69 66 20 74 65 |f(buffer|, "if te|
|00001560| 73 74 20 21 20 2d 64 20 | 27 25 73 27 22 2c 20 75 |st ! -d |'%s'", u|
|00001570| 6e 69 78 66 69 6c 65 6e | 61 6d 65 29 20 3d 3d 20 |nixfilen|ame) == |
|00001580| 31 29 20 7b 20 20 20 20 | 20 20 20 20 20 20 2f 2a |1) { | /*|
|00001590| 20 6d 61 6b 65 20 4d 61 | 63 20 72 65 6c 61 74 69 | make Ma|c relati|
|000015a0| 76 65 20 70 61 74 68 6e | 61 6d 65 20 2a 2f 0d 20 |ve pathn|ame */. |
|000015b0| 20 20 20 20 20 20 20 20 | 20 73 70 72 69 6e 74 66 | | sprintf|
|000015c0| 28 6d 70 77 66 69 6c 65 | 6e 61 6d 65 2c 20 22 3a |(mpwfile|name, ":|
|000015d0| 25 73 22 2c 20 75 6e 69 | 78 66 69 6c 65 6e 61 6d |%s", uni|xfilenam|
|000015e0| 65 29 3b 0d 20 20 20 20 | 20 20 20 20 20 20 2f 2a |e);. | /*|
|000015f0| 20 63 6f 6e 76 65 72 74 | 20 27 2f 27 20 74 6f 20 | convert| '/' to |
|00001600| 27 3a 27 20 26 20 76 69 | 63 65 20 76 65 72 73 61 |':' & vi|ce versa|
|00001610| 20 2a 2f 0d 20 20 20 20 | 20 20 20 20 20 20 66 6f | */. | fo|
|00001620| 72 20 28 63 70 20 3d 20 | 6d 70 77 66 69 6c 65 6e |r (cp = |mpwfilen|
|00001630| 61 6d 65 2b 31 3b 20 2a | 63 70 3b 20 63 70 2b 2b |ame+1; *|cp; cp++|
|00001640| 29 0d 20 20 20 20 20 20 | 20 20 20 20 20 20 69 66 |). | if|
|00001650| 20 28 2a 63 70 20 3d 3d | 20 27 2f 27 29 20 20 20 | (*cp ==| '/') |
|00001660| 20 20 20 20 20 20 20 20 | 20 20 20 2a 63 70 20 3d | | *cp =|
|00001670| 20 27 3a 27 3b 0d 20 20 | 20 20 20 20 20 20 20 20 | ':';. | |
|00001680| 20 20 65 6c 73 65 20 69 | 66 20 28 2a 63 70 20 3d | else i|f (*cp =|
|00001690| 3d 20 27 3a 27 29 0d 20 | 20 20 20 20 20 20 20 20 |= ':'). | |
|000016a0| 20 20 20 20 20 2a 63 70 | 20 3d 20 27 2f 27 3b 0d | *cp| = '/';.|
|000016b0| 20 20 20 20 20 20 20 20 | 20 20 63 70 5b 2d 31 5d | | cp[-1]|
|000016c0| 20 3d 20 30 3b 20 20 2f | 2a 20 64 72 6f 70 20 74 | = 0; /|* drop t|
|000016d0| 72 61 69 6c 69 6e 67 20 | 71 75 6f 74 65 20 6d 61 |railing |quote ma|
|000016e0| 72 6b 20 2a 2f 0d 0d 20 | 20 20 20 20 20 20 20 20 |rk */.. | |
|000016f0| 20 2f 2a 20 49 20 77 69 | 73 68 20 4d 50 57 20 43 | /* I wi|sh MPW C|
|00001700| 20 68 61 64 20 6d 6b 64 | 69 72 28 29 2c 20 62 75 | had mkd|ir(), bu|
|00001710| 74 20 61 74 20 6c 65 61 | 73 74 20 77 65 20 64 6f |t at lea|st we do|
|00001720| 6e 27 74 20 68 61 76 65 | 20 74 6f 20 64 6f 20 70 |n't have| to do p|
|00001730| 61 72 61 6d 65 74 65 72 | 20 62 6c 6f 63 6b 73 20 |arameter| blocks |
|00001740| 2a 2f 0d 20 20 20 20 20 | 20 20 20 20 20 48 47 65 |*/. | HGe|
|00001750| 74 56 6f 6c 28 75 6e 69 | 78 66 69 6c 65 6e 61 6d |tVol(uni|xfilenam|
|00001760| 65 2c 20 26 76 2c 20 26 | 64 69 72 49 44 29 3b 20 |e, &v, &|dirID); |
|00001770| 20 20 20 20 20 20 20 20 | 20 63 32 70 73 74 72 28 | | c2pstr(|
|00001780| 6d 70 77 66 69 6c 65 6e | 61 6d 65 29 3b 0d 20 20 |mpwfilen|ame);. |
|00001790| 20 20 20 20 20 20 20 20 | 44 69 72 43 72 65 61 74 | |DirCreat|
|000017a0| 65 28 76 2c 20 64 69 72 | 49 44 2c 20 6d 70 77 66 |e(v, dir|ID, mpwf|
|000017b0| 69 6c 65 6e 61 6d 65 2c | 20 26 64 49 44 29 3b 0d |ilename,| &dID);.|
|000017c0| 20 20 20 20 20 20 20 20 | 20 20 66 67 65 74 73 28 | | fgets(|
|000017d0| 62 75 66 66 65 72 2c 20 | 73 69 7a 65 6f 66 28 62 |buffer, |sizeof(b|
|000017e0| 75 66 66 65 72 29 2c 20 | 69 6e 66 70 29 3b 0d 20 |uffer), |infp);. |
|000017f0| 20 20 20 20 20 20 20 20 | 20 66 67 65 74 73 28 62 | | fgets(b|
|00001800| 75 66 66 65 72 2c 20 73 | 69 7a 65 6f 66 28 62 75 |uffer, s|izeof(bu|
|00001810| 66 66 65 72 29 2c 20 69 | 6e 66 70 29 3b 0d 20 20 |ffer), i|nfp);. |
|00001820| 20 20 20 20 20 20 20 20 | 66 67 65 74 73 28 62 75 | |fgets(bu|
|00001830| 66 66 65 72 2c 20 73 69 | 7a 65 6f 66 28 62 75 66 |ffer, si|zeof(buf|
|00001840| 66 65 72 29 2c 20 69 6e | 66 70 29 3b 0d 20 20 20 |fer), in|fp);. |
|00001850| 20 20 20 20 20 7d 20 20 | 20 20 20 20 7d 0d 20 20 | } | }. |
|00001860| 20 20 7d 0d 20 20 7d 0d | 20 20 66 63 6c 6f 73 65 | }. }.| fclose|
|00001870| 28 69 6e 66 70 29 3b 0d | 7d 0d 00 00 01 00 00 00 |(infp);.|}.......|
|00001880| 01 88 00 00 00 88 00 00 | 00 52 20 20 49 6e 73 74 |........|.R Inst|
|00001890| 72 75 63 74 69 6f 6e 73 | 20 66 6f 72 20 43 20 45 |ructions| for C E|
|000018a0| 78 61 6d 70 6c 65 73 0d | 0d 43 08 4d 61 6b 65 46 |xamples.|.C.MakeF|
|000018b0| 69 6c 65 6b 02 00 00 00 | 54 45 58 54 4d 50 53 20 |ilek....|TEXTMPS |
|000018c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 54 45 58 54 |........|....TEXT|
|000018d0| 4d 50 53 20 00 00 00 00 | 00 00 00 00 00 00 00 00 |MPS ....|........|
|000018e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 a2 2f c3 96 |........|...../..|
|000018f0| 00 00 05 1d 00 00 01 da | 45 78 61 6d 70 6c 65 73 |........|Examples|
|00001900| 0d 0d 0d 20 20 20 4e 6f | 74 65 3a 20 46 6f 72 20 |... No|te: For |
|00001910| 6d 6f 72 65 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |more inf|ormation|
|00001920| 20 61 62 6f 75 74 20 62 | 75 69 6c 64 69 6e 67 20 | about b|uilding |
|00001930| 74 68 65 20 73 61 6d 70 | 6c 65 20 70 72 6f 67 72 |the samp|le progr|
|00001940| 61 6d 73 2c 20 73 65 65 | 0d 20 20 20 43 68 61 70 |ams, see|. Chap|
|00001950| 74 65 72 20 31 20 6f 66 | 20 74 68 65 20 4d 61 63 |ter 1 of| the Mac|
|00001960| 69 6e 74 6f 73 68 20 50 | 72 6f 67 72 61 6d 6d 65 |intosh P|rogramme|
|00001970| 72 27 73 20 57 6f 72 6b | 73 68 00 00 00 14 03 00 |r's Work|sh......|
|00001980| 80 00 00 00 03 33 2e 30 | 09 4d 50 57 20 43 20 33 |.....3.0|.MPW C 3|
|00001990| 2e 30 00 00 00 48 00 09 | 4d 6f 6e 61 63 6f 00 00 |.0...H..|Monaco..|
|000019a0| 7d 7d 7d 7d 7d 7d 7d 7d | 7d 7d 7d 7d 7d 7d 7d 7d |}}}}}}}}|}}}}}}}}|
|000019b0| 7d 7d 7d 7d 7d 7d 7d 7d | 00 06 00 04 00 3c 00 24 |}}}}}}}}|.....<.$|
|000019c0| 01 dd 02 3d 00 3c 00 24 | 01 dd 02 3d a0 aa de 47 |...=.<.$|...=...G|
|000019d0| 00 00 05 1d 00 00 05 1d | 00 00 00 00 01 00 00 00 |........|........|
|000019e0| 00 20 00 02 00 00 00 00 | 00 00 00 00 07 53 61 6d |. ......|.....Sam|
|000019f0| 70 6c 65 00 00 00 00 01 | 00 00 05 1d 05 43 6f 75 |ple.....|.....Cou|
|00001a00| 6e 74 00 00 01 00 00 00 | 01 88 00 00 00 88 00 00 |nt......|........|
|00001a10| 00 52 00 34 b2 f4 05 e2 | 00 00 00 1c 00 52 00 01 |.R.4....|.....R..|
|00001a20| 4d 50 53 52 00 01 00 12 | 76 65 72 73 00 00 00 2a |MPSR....|vers...*|
|00001a30| 03 ed ff ff 00 00 00 18 | 00 00 00 00 03 ef ff ff |........|........|
|00001a40| 00 00 00 64 00 35 ed 94 | 00 02 ff ff 20 00 00 00 |...d.5..|.... ...|
|00001a50| 00 00 00 00 0d 50 52 4f | 47 52 41 4d 53 09 09 3d |.....PRO|GRAMS..=|
|00001a60| 20 6e 74 70 20 6e 74 70 | 74 69 6d 65 0d 48 46 49 | ntp ntp|time.HFI|
|00001a70| 4c 45 53 09 09 09 3d 20 | 6e 74 70 2e 68 0d 0d 6e |LES...= |ntp.h..n|
|00001a80| 74 70 5f 4f 46 49 4c 45 | 53 09 09 3d 20 6e 74 70 |tp_OFILE|S..= ntp|
|00001a90| 2e 63 2e 6f 20 6e 74 70 | 73 75 62 73 2e 63 2e 6f |.c.o ntp|subs.c.o|
|00001aa0| 20 64 6e 72 2e 63 2e 6f | 0d 6e 74 70 64 5f 4f 46 | dnr.c.o|.ntpd_OF|
|00001ab0| 49 4c 45 53 09 09 3d 20 | 6e 74 70 64 2e 63 2e 6f |ILES..= |ntpd.c.o|
|00001ac0| 20 6e 74 70 73 75 62 73 | 2e 63 2e 6f 20 6e 74 70 | ntpsubs|.c.o ntp|
|00001ad0| 5f 73 6f 63 6b 2e 63 2e | 6f 20 6e 74 70 5f 61 64 |_sock.c.|o ntp_ad|
|00001ae0| 6a 75 73 74 2e 63 2e 6f | 0d 6e 74 70 64 63 5f 4f |just.c.o|.ntpdc_O|
|00001af0| 46 49 4c 45 53 09 09 3d | 20 6e 74 70 64 63 2e 63 |FILES..=| ntpdc.c|
|00001b00| 2e 6f 20 6e 74 70 73 75 | 62 73 2e 63 2e 6f 0d 6e |.o ntpsu|bs.c.o.n|
|00001b10| 74 70 74 69 6d 65 5f 4f | 46 49 4c 45 53 09 09 3d |tptime_O|FILES..=|
|00001b20| 20 64 6e 72 2e 63 2e 6f | 20 6e 74 70 74 69 6d 65 | dnr.c.o| ntptime|
|00001b30| 2e 63 2e 6f 20 6e 74 70 | 73 75 62 73 2e 63 2e 6f |.c.o ntp|subs.c.o|
|00001b40| 20 0d 0d 6e 74 70 74 69 | 6d 65 2e 63 09 c4 c4 20 | ..ntpti|me.c... |
|00001b50| 7b 48 46 49 4c 45 53 7d | 0d 0d 6e 74 70 73 75 62 |{HFILES}|..ntpsub|
|00001b60| 73 2e 63 09 c4 c4 20 7b | 48 46 49 4c 45 53 7d 0d |s.c... {|HFILES}.|
|00001b70| 0d 6e 74 70 2e 63 09 c4 | c4 20 7b 48 46 49 4c 45 |.ntp.c..|. {HFILE|
|00001b80| 53 7d 0d 0d 6e 74 70 74 | 69 6d 65 09 c4 20 7b 6e |S}..ntpt|ime.. {n|
|00001b90| 74 70 74 69 6d 65 5f 4f | 46 49 4c 45 53 7d 09 0d |tptime_O|FILES}..|
|00001ba0| 09 4c 69 6e 6b 20 2d 77 | 20 2d 63 20 27 4d 50 53 |.Link -w| -c 'MPS|
|00001bb0| 20 27 20 2d 74 20 4d 50 | 53 54 20 20 20 b6 0d 09 | ' -t MP|ST ...|
|00001bc0| 09 2d 73 6e 20 53 54 44 | 49 4f 3d 4d 61 69 6e 20 |.-sn STD|IO=Main |
|00001bd0| b6 0d 09 09 2d 73 6e 20 | 49 4e 54 45 4e 56 3d 4d |....-sn |INTENV=M|
|00001be0| 61 69 6e 20 b6 0d 09 09 | 2d 73 6e 20 25 41 35 49 |ain ....|-sn %A5I|
|00001bf0| 6e 69 74 3d 4d 61 69 6e | 20 b6 0d 09 09 7b 6e 74 |nit=Main| ....{nt|
|00001c00| 70 74 69 6d 65 5f 4f 46 | 49 4c 45 53 7d 20 b6 0d |ptime_OF|ILES} ..|
|00001c10| 09 09 22 7b 43 4c 69 62 | 72 61 72 69 65 73 7d 22 |.."{CLib|raries}"|
|00001c20| 4d 61 74 68 2e 6f 20 b6 | 0d 09 09 22 7b 43 4c 69 |Math.o .|..."{CLi|
|00001c30| 62 72 61 72 69 65 73 7d | 22 43 53 41 4e 45 4c 69 |braries}|"CSANELi|
|00001c40| 62 2e 6f 20 b6 0d 09 09 | 22 7b 43 4c 69 62 72 61 |b.o ....|"{CLibra|
|00001c50| 72 69 65 73 7d 22 43 52 | 75 6e 74 69 6d 65 2e 6f |ries}"CR|untime.o|
|00001c60| 20 b6 0d 09 09 22 7b 43 | 4c 69 62 72 61 72 69 65 | ...."{C|Librarie|
|00001c70| 73 7d 22 53 74 64 43 4c | 69 62 2e 6f 20 b6 0d 09 |s}"StdCL|ib.o ...|
|00001c80| 09 22 7b 43 4c 69 62 72 | 61 72 69 65 73 7d 22 43 |."{CLibr|aries}"C|
|00001c90| 49 6e 74 65 72 66 61 63 | 65 2e 6f 20 b6 0d 09 09 |Interfac|e.o ....|
|00001ca0| 22 7b 4c 69 62 72 61 72 | 69 65 73 7d 22 49 6e 74 |"{Librar|ies}"Int|
|00001cb0| 65 72 66 61 63 65 2e 6f | 20 b6 0d 09 09 22 7b 4c |erface.o| ...."{L|
|00001cc0| 69 62 72 61 72 69 65 73 | 7d 22 54 6f 6f 6c 4c 69 |ibraries|}"ToolLi|
|00001cd0| 62 73 2e 6f 20 b6 0d 09 | 09 2d 6f 20 6e 74 70 74 |bs.o ...|.-o ntpt|
|00001ce0| 69 6d 65 0d 0d 6e 74 70 | 09 c4 20 7b 6e 74 70 5f |ime..ntp|.. {ntp_|
|00001cf0| 4f 46 49 4c 45 53 7d 09 | 0d 09 4c 69 6e 6b 20 2d |OFILES}.|..Link -|
|00001d00| 77 20 2d 63 20 27 4d 50 | 53 20 27 20 2d 74 20 4d |w -c 'MP|S ' -t M|
|00001d10| 50 53 54 20 20 20 b6 0d | 09 09 2d 73 6e 20 53 54 |PST ..|..-sn ST|
|00001d20| 44 49 4f 3d 4d 61 69 6e | 20 b6 0d 09 09 2d 73 6e |DIO=Main| ....-sn|
|00001d30| 20 49 4e 54 45 4e 56 3d | 4d 61 69 6e 20 b6 0d 09 | INTENV=|Main ...|
|00001d40| 09 2d 73 6e 20 25 41 35 | 49 6e 69 74 3d 4d 61 69 |.-sn %A5|Init=Mai|
|00001d50| 6e 20 b6 0d 09 09 7b 6e | 74 70 5f 4f 46 49 4c 45 |n ....{n|tp_OFILE|
|00001d60| 53 7d 20 b6 0d 09 09 22 | 7b 43 4c 69 62 72 61 72 |S} ...."|{CLibrar|
|00001d70| 69 65 73 7d 22 4d 61 74 | 68 2e 6f 20 b6 0d 09 09 |ies}"Mat|h.o ....|
|00001d80| 22 7b 43 4c 69 62 72 61 | 72 69 65 73 7d 22 43 53 |"{CLibra|ries}"CS|
|00001d90| 41 4e 45 4c 69 62 2e 6f | 20 b6 0d 09 09 22 7b 43 |ANELib.o| ...."{C|
|00001da0| 4c 69 62 72 61 72 69 65 | 73 7d 22 43 52 75 6e 74 |Librarie|s}"CRunt|
|00001db0| 69 6d 65 2e 6f 20 b6 0d | 09 09 22 7b 43 4c 69 62 |ime.o ..|.."{CLib|
|00001dc0| 72 61 72 69 65 73 7d 22 | 53 74 64 43 4c 69 62 2e |raries}"|StdCLib.|
|00001dd0| 6f 20 b6 0d 09 09 22 7b | 43 4c 69 62 72 61 72 69 |o ...."{|CLibrari|
|00001de0| 65 73 7d 22 43 49 6e 74 | 65 72 66 61 63 65 2e 6f |es}"CInt|erface.o|
|00001df0| 20 b6 0d 09 09 22 7b 4c | 69 62 72 61 72 69 65 73 | ...."{L|ibraries|
|00001e00| 7d 22 49 6e 74 65 72 66 | 61 63 65 2e 6f 20 b6 0d |}"Interf|ace.o ..|
|00001e10| 09 09 22 7b 4c 69 62 72 | 61 72 69 65 73 7d 22 54 |.."{Libr|aries}"T|
|00001e20| 6f 6f 6c 4c 69 62 73 2e | 6f 20 b6 0d 09 09 2d 6f |oolLibs.|o ....-o|
|00001e30| 20 6e 74 70 0d 0d 74 65 | 73 74 09 09 09 c4 c4 09 | ntp..te|st......|
|00001e40| 74 65 73 74 2e 63 2e 6f | 20 20 64 6e 72 2e 63 2e |test.c.o| dnr.c.|
|00001e50| 6f 0d 09 4c 69 6e 6b 20 | 2d 77 20 2d 63 20 27 4d |o..Link |-w -c 'M|
|00001e60| 50 53 20 27 20 2d 74 20 | 4d 50 53 54 20 74 65 73 |PS ' -t |MPST tes|
|00001e70| 74 2e 63 2e 6f 20 64 6e | 72 2e 63 2e 6f 20 b6 0d |t.c.o dn|r.c.o ..|
|00001e80| 09 09 2d 73 6e 20 53 54 | 44 49 4f 3d 4d 61 69 6e |..-sn ST|DIO=Main|
|00001e90| 20 b6 0d 09 09 2d 73 6e | 20 49 4e 54 45 4e 56 3d | ....-sn| INTENV=|
|00001ea0| 4d 61 69 6e 20 b6 0d 09 | 09 2d 73 6e 20 25 41 35 |Main ...|.-sn %A5|
|00001eb0| 49 6e 69 74 3d 4d 61 69 | 6e 20 b6 0d 09 09 22 7b |Init=Mai|n ...."{|
|00001ec0| 4c 69 62 72 61 72 69 65 | 73 7d 22 53 74 75 62 73 |Librarie|s}"Stubs|
|00001ed0| 2e 6f 20 b6 0d 09 09 22 | 7b 43 4c 69 62 72 61 72 |.o ...."|{CLibrar|
|00001ee0| 69 65 73 7d 22 43 52 75 | 6e 74 69 6d 65 2e 6f 20 |ies}"CRu|ntime.o |
|00001ef0| b6 0d 09 09 22 7b 43 4c | 69 62 72 61 72 69 65 73 |...."{CL|ibraries|
|00001f00| 7d 22 53 74 64 43 4c 69 | 62 2e 6f 20 b6 0d 09 09 |}"StdCLi|b.o ....|
|00001f10| 22 7b 43 4c 69 62 72 61 | 72 69 65 73 7d 22 43 49 |"{CLibra|ries}"CI|
|00001f20| 6e 74 65 72 66 61 63 65 | 2e 6f 20 b6 0d 09 09 22 |nterface|.o ...."|
|00001f30| 7b 4c 69 62 72 61 72 69 | 65 73 7d 22 49 6e 74 65 |{Librari|es}"Inte|
|00001f40| 72 66 61 63 65 2e 6f 20 | b6 0d 09 09 22 7b 4c 69 |rface.o |...."{Li|
|00001f50| 62 72 61 72 69 65 73 7d | 22 54 6f 6f 6c 4c 69 62 |braries}|"ToolLib|
|00001f60| 73 2e 6f 20 b6 0d 09 09 | 2d 6f 20 74 65 73 74 0d |s.o ....|-o test.|
|00001f70| 0d 00 00 01 00 00 00 5b | 5c 00 00 5a 5c 00 00 00 |.......[|\..Z\...|
|00001f80| 6b 73 65 4c 6f 63 29 0d | 20 20 20 20 3d 20 30 78 |kseLoc).| = 0x|
|00001f90| 41 39 37 32 3b 20 0d 70 | 61 73 63 61 6c 20 42 6f |A972; .p|ascal Bo|
|00001fa0| 6f 03 6e 74 70 02 00 00 | 00 4d 50 53 54 4d 50 53 |o.ntp...|.MPSTMPS|
|00001fb0| 20 00 00 00 00 00 00 00 | 00 00 00 9f 3e 00 00 00 | .......|....>...|
|00001fc0| 00 00 00 4d 50 53 54 4d | 50 53 20 00 00 00 00 00 |...MPSTM|PS .....|
|00001fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001fe0| 00 00 00 a2 2f c3 96 00 | 00 00 00 00 00 5b c7 0d |..../...|.....[..|
|00001ff0| 70 61 73 63 61 6c 20 42 | 6f 6f 6c 65 61 6e 20 57 |pascal B|oolean W|
|00002000| 61 69 74 4d 6f 75 73 65 | 55 70 28 76 6f 69 64 29 |aitMouse|Up(void)|
|00002010| 0d 20 20 20 20 3d 20 30 | 78 41 39 37 37 3b 20 0d |. = 0|xA977; .|
|00002020| 70 61 73 63 61 6c 20 76 | 6f 69 64 20 47 65 74 4b |pascal v|oid GetK|
|00002030| 65 79 73 28 4b 65 79 4d | 61 70 20 74 68 65 4b 65 |eys(KeyM|ap theKe|
|00002040| 79 73 29 0d 20 20 20 20 | 3d 20 30 78 41 39 37 36 |ys). |= 0xA976|
|00002050| 3b 20 0d 70 61 73 63 61 | 6c 20 75 6e 73 69 67 6e |; .pasca|l unsign|
|00002060| 65 64 20 6c 6f 6e 67 20 | 54 69 63 6b 43 6f 75 6e |ed long |TickCoun|
|00002070| 74 00 00 01 80 00 00 01 | 90 00 00 10 18 00 00 01 |t.......|........|
|00002080| 70 00 00 00 20 0e 8e 3f | 3c 00 01 a9 f0 11 d6 3f |p... ..?|<......?|
|00002090| 3c 00 01 a9 f0 13 2e 3f | 3c 00 01 a9 f0 17 38 3f |<......?|<.....8?|
|000020a0| 3c 00 01 a9 f0 19 3e 3f | 3c 00 01 a9 f0 1d 22 3f |<.....>?|<....."?|
|000020b0| 3c 00 01 a9 f0 36 c8 3f | 3c 00 01 a9 f0 37 20 3f |<....6.?|<....7 ?|
|000020c0| 3c 00 01 a9 f0 37 62 3f | 3c 00 01 a9 f0 37 ee 3f |<....7b?|<....7.?|
|000020d0| 3c 00 01 a9 f0 38 20 3f | 3c 00 01 a9 f0 38 56 3f |<....8 ?|<....8V?|
|000020e0| 3c 00 01 a9 f0 38 62 3f | 3c 00 01 a9 f0 38 8c 3f |<....8b?|<....8.?|
|000020f0| 3c 00 01 a9 f0 38 98 3f | 3c 00 01 a9 f0 38 b6 3f |<....8.?|<....8.?|
|00002100| 3c 00 01 a9 f0 38 ec 3f | 3c 00 01 a9 f0 38 fe 3f |<....8.?|<....8.?|
|00002110| 3c 00 01 a9 f0 39 22 3f | 3c 00 01 a9 f0 39 34 3f |<....9"?|<....94?|
|00002120| 3c 00 01 a9 f0 39 46 3f | 3c 00 01 a9 f0 39 58 3f |<....9F?|<....9X?|
|00002130| 3c 00 01 a9 f0 39 74 3f | 3c 00 01 a9 f0 39 78 3f |<....9t?|<....9x?|
|00002140| 3c 00 01 a9 f0 39 be 3f | 3c 00 01 a9 f0 39 e0 3f |<....9.?|<....9.?|
|00002150| 3c 00 01 a9 f0 3a 04 3f | 3c 00 01 a9 f0 3a 3e 3f |<....:.?|<....:>?|
|00002160| 3c 00 01 a9 f0 3a 78 3f | 3c 00 01 a9 f0 3a c6 3f |<....:x?|<....:.?|
|00002170| 3c 00 01 a9 f0 00 00 3f | 3c 00 02 a9 f0 03 2a 3f |<......?|<.....*?|
|00002180| 3c 00 02 a9 f0 03 c2 3f | 3c 00 02 a9 f0 04 30 3f |<......?|<.....0?|
|00002190| 3c 00 02 a9 f0 04 be 3f | 3c 00 02 a9 f0 05 fe 3f |<......?|<......?|
|000021a0| 3c 00 02 a9 f0 07 30 3f | 3c 00 02 a9 f0 07 46 3f |<.....0?|<.....F?|
|000021b0| 3c 00 02 a9 f0 07 5a 3f | 3c 00 02 a9 f0 07 88 3f |<.....Z?|<......?|
|000021c0| 3c 00 02 a9 f0 00 94 3f | 3c 00 03 a9 f0 05 72 3f |<......?|<.....r?|
|000021d0| 3c 00 03 a9 f0 05 da 3f | 3c 00 03 a9 f0 05 f0 3f |<......?|<......?|
|000021e0| 3c 00 03 a9 f0 06 2c 3f | 3c 00 03 a9 f0 06 6a 3f |<.....,?|<.....j?|
|000021f0| 3c 00 03 a9 f0 00 00 4a | 36 00 00 00 1e 4e 56 00 |<......J|6....NV.|
|00002200| 00 48 e7 11 18 28 6e 00 | 08 2e 2e 00 0c 26 4c 76 |.H...(n.|.....&Lv|
|00002210| 00 60 08 42 13 53 87 d6 | fc 00 01 b6 87 6d f4 4c |.`.B.S..|.....m.L|
|00002220| ee 18 88 ff f0 4e 5e 4e | 75 85 62 7a 65 72 6f 00 |.....N^N|u.bzero.|
|00002230| 00 4e 56 00 00 2f 0b 47 | ed f3 58 2f 0b 2f 2e 00 |.NV../.G|..X/./..|
|00002240| 08 4e ba 0e 0e 4a 40 50 | 8f 67 08 41 ed ef e8 20 |.N...J@P|.g.A... |
|00002250| 08 60 02 20 0b 26 6e ff | fc 4e 5e 4e 75 89 69 6e |.`. .&n.|.N^Nu.in|
|00002260| 65 74 5f 6e 74 6f 61 00 | 00 4e 56 ff cc 2f 07 2e |et_ntoa.|.NV../..|
|00002270| 2e 00 08 4a ad f3 c0 67 | 4e 70 34 2f 00 48 6e ff |...J...g|Np4/.Hn.|
|00002280| cc 4e ba ff 7a 70 00 2d | 40 ff d8 3d 6d f3 be ff |.N..zp.-|@..=m...|
|00002290| e4 3d 7c 00 18 ff e6 2d | 6d f3 c0 ff e8 2d 40 ff |.=|....-|m....-@.|
|000022a0| fa 55 8f 48 6e ff cc 72 | 00 1f 01 4e ba 38 60 4a |.U.Hn..r|...N.8`J|
|000022b0| 5f 50 8f 67 12 2f 07 48 | 6d ef f8 48 6d fe 22 4e |_P.g./.H|m..Hm."N|
|000022c0| ba 23 78 4f ef 00 0c 4e | ba 0c fe 4a 87 67 12 2f |.#xO...N|...J.g./|
|000022d0| 07 48 6d f0 28 48 6d fe | 22 4e ba 23 5e 4f ef 00 |.Hm.(Hm.|"N.#^O..|
|000022e0| 0c 2f 07 4e ba 10 6a 58 | 8f 2e 2e ff c8 4e 5e 4e |./.N..jX|.....N^N|
|000022f0| 75 8a 63 6c 65 61 6e 5f | 65 78 69 74 00 00 00 4e |u.clean_|exit...N|
|00002300| 56 00 00 48 e7 01 10 26 | 6e 00 08 3e 2e 00 0e 67 |V..H...&|n..>...g|
|00002310| 1e 48 c7 2f 07 2f 0b 48 | 6d f0 32 48 6d fe 22 4e |.H././.H|m.2Hm."N|
|00002320| ba 23 18 70 ff 2f 00 4e | ba ff 40 4f ef 00 14 4c |.#.p./.N|..@O...L|
|00002330| ee 08 80 ff f8 4e 5e 4e | 75 89 46 61 69 6c 4f 53 |.....N^N|u.FailOS|
|00002340| 45 72 72 00 00 4e 56 fe | 3e 48 e7 0f 18 28 6e 00 |Err..NV.|>H...(n.|
|00002350| 0c 47 ed f3 28 70 00 2f | 00 4e ba 3b 1a 70 00 2f |.G..(p./|.N.;.p./|
|00002360| 00 4e ba 0b c6 48 c0 58 | 8f 2f 00 48 6d f0 42 4e |.N...H.X|./.Hm.BN|
|00002370| ba ff 8e 48 6d f3 be 48 | 6d f0 50 4e ba 35 08 48 |...Hm..H|m.PN.5.H|
|00002380| c0 50 8f 2f 00 48 6d f0 | 56 4e ba ff 74 42 2e ff |.P./.Hm.|VN..tB..|
|00002390| ba 48 78 10 00 4e ba 30 | 08 2d 40 ff fc 4f ef 00 |.Hx..N.0|.-@..O..|
|000023a0| 14 66 18 48 6d f0 68 48 | 6d fe 22 4e ba 22 8c 70 |.f.Hm.hH|m."N.".p|
|000023b0| ff 2f 00 4e ba fe b4 4f | ef 00 0c 70 34 2f 00 48 |./.N...O|...p4/.H|
|000023c0| 6e ff bc 4e ba fe 38 70 | 00 2d 40 ff c8 3d 6d f3 |n..N..8p|.-@..=m.|
|000023d0| be ff d4 3d 7c 00 14 ff | d6 2d 6e ff fc ff dc 2d |...=|...|.-n....-|
|000023e0| 7c 00 00 10 00 ff e0 2d | 40 ff e4 42 6e ff e8 2d ||......-|@..Bn..-|
|000023f0| 40 ff ea 55 8f 48 6e ff | bc 72 00 1f 01 4e ba 37 |@..U.Hn.|.r...N.7|
|00002400| 0e 30 1f 48 c0 2f 00 48 | 6d f0 76 4e ba fe f2 2b |.0.H./.H|m.vN...+|
|00002410| 6e ff d8 f3 c0 3b 6e ff | e8 f3 bc 78 02 7c 01 4f |n....;n.|...x.|.O|
|00002420| ef 00 10 60 00 05 f0 20 | 06 e5 80 4a b4 08 00 67 |...`... |...J...g|
|00002430| 00 05 e2 70 00 2f 00 2f | 00 48 6e fe 52 22 06 e5 |...p././|.Hn.R"..|
|00002440| 81 2f 34 18 00 4e ba 0b | c4 4a 40 4f ef 00 10 67 |./4..N..|.J@O...g|
|00002450| 1c 20 06 e5 80 2f 34 08 | 00 48 6d f0 86 48 6d fe |. .../4.|.Hm..Hm.|
|00002460| 22 4e ba 21 d6 4f ef 00 | 0c 60 00 05 a8 70 30 2f |"N.!.O..|.`...p0/|
|00002470| 00 2f 0b 4e ba fd 88 16 | bc 00 08 42 2b 00 01 42 |./.N....|...B+..B|
|00002480| 2b 00 02 70 00 27 40 00 | 1c 27 40 00 18 27 40 00 |+..p.'@.|.'@..'@.|
|00002490| 24 27 40 00 20 2f 00 48 | 6e ff 76 4e ba 07 96 72 |$'@. /.H|n.vN...r|
|000024a0| ff b2 80 4f ef 00 10 66 | 12 48 6d f0 b2 4e ba 32 |...O...f|.Hm..N.2|
|000024b0| 56 70 01 2f 00 4e ba fd | b2 50 8f 48 6e ff 76 48 |Vp./.N..|.P.Hn.vH|
|000024c0| 6b 00 28 4e ba 07 ca 70 | 00 2d 40 ff c8 3d 6d f3 |k.(N...p|.-@..=m.|
|000024d0| be ff d4 3d 7c 00 17 ff | d6 2d 6d f3 c0 ff d8 2d |...=|...|.-m....-|
|000024e0| 6e ff 56 ff de 3d 7c 00 | 7b ff e2 2d 40 ff ec 3d |n.V..=|.|{..-@..=|
|000024f0| 7c 00 30 ff f0 41 ed f3 | 28 2d 48 ff f2 42 6e ff ||.0..A..|(-H..Bn.|
|00002500| f6 41 ee ff f0 2d 48 ff | e4 55 8f 48 6e ff bc 72 |.A...-H.|.U.Hn..r|
|00002510| 00 1f 01 4e ba 35 f8 3e | 1f 48 c7 0c 87 ff ff a6 |...N.5.>|.H......|
|00002520| 07 50 8f 66 24 48 c7 2f | 07 2f 2e ff 56 4e ba fd |.P.f$H./|./..VN..|
|00002530| 02 58 8f 2f 00 48 6d f0 | c4 48 6d fe 22 4e ba 20 |.X./.Hm.|.Hm."N. |
|00002540| fa 4f ef 00 10 60 00 00 | 00 00 00 00 00 00 00 00 |.O...`..|........|
|00002550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002580| 00 01 d4 00 00 00 0a 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002590| 00 00 00 00 62 00 00 00 | 16 00 09 00 00 00 00 00 |....b...|........|
|000025a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000025f0| 00 00 00 00 00 00 00 00 | 00 00 da 00 14 05 54 69 |........|......Ti|
|00002600| 6d 65 73 00 17 06 53 79 | 6d 62 6f 6c 01 00 93 0b |mes...Sy|mbol....|
|00002610| 53 75 70 65 72 48 65 62 | 72 65 77 00 c7 07 50 72 |SuperHeb|rew...Pr|
|00002620| 6f 46 6f 6e 74 00 90 08 | 50 6c 79 6d 6f 75 74 68 |oFont...|Plymouth|
|00002630| ff 00 10 08 50 61 6c 61 | 74 69 6e 6f 30 00 a9 09 |....Pala|tino0...|
|00002640| 4f 6c 64 67 65 72 6d 61 | 6e 00 04 06 4d 6f 6e 61 |Oldgerma|n...Mona|
|00002650| 63 6f 18 00 43 0b 69 6d | 61 67 65 57 52 49 54 45 |co..C.im|ageWRITE|
|00002660| 52 00 15 09 48 65 6c 76 | 65 74 69 63 61 00 b7 08 |R...Helv|etica...|
|00002670| 48 65 61 64 6c 69 6e 65 | ff 00 03 06 47 65 6e 65 |Headline|....Gene|
|00002680| 76 61 18 00 9c 08 47 61 | 72 61 6d 6f 6e 64 00 00 |va....Ga|ramond..|
|00002690| 16 07 43 6f 75 72 69 65 | 72 00 00 07 43 68 69 63 |..Courie|r...Chic|
|000026a0| 61 67 6f 00 0e 07 42 6f | 6f 6b 6d 61 6e 00 f7 0b |ago...Bo|okman...|
|000026b0| 42 6f 64 6f 6e 69 55 6c | 74 72 61 00 fe 06 42 6f |BodoniUl|tra...Bo|
|000026c0| 64 6f 6e 69 00 00 cc 0c | 42 6c 61 63 6b 20 4b 6e |doni....|Black Kn|
|000026d0| 69 67 68 74 00 00 00 00 | 78 00 01 00 00 00 48 00 |ight....|x.....H.|
|000026e0| 48 00 00 00 00 03 18 02 | 40 00 00 ff ee 03 18 02 |H.......|@.......|
|000026f0| 52 0a 03 05 28 03 fc 00 | 01 fd 00 00 d8 00 00 00 |R...(...|........|
+--------+-------------------------+-------------------------+--------+--------+